package rho.test;

import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.LinearLayout.LayoutParams;

public class ApiDemos extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        LayoutParams lp =  new  LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT);
        LayoutParams textViewLP = new LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.WRAP_CONTENT);
        LinearLayout ll = new LinearLayout(this);
        ll.setOrientation(LinearLayout.VERTICAL);
        TextView myTextView = new TextView(this);
        myTextView.setText("Hello World, rho");
        ll.addView(myTextView,textViewLP);
        this.addContentView(ll,lp);
        
        
        //setContentView(R.layout.main);
    }
}